"use client";

import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";
import {IconList, IconChartHistogram, IconHelp} from "@tabler/icons-react";

const subHeader = {
  zh: "设备配置",
  en: "Investment Estimation",
  base: "/ipdv2/tools/device-config",
  nav: [
    {label: "项目列表", link: "list", icon: IconList},
    {label: "项目统计", link: "statistics", icon: IconChartHistogram},
    {label: "使用说明", link: "instruction", icon: IconHelp},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
